package com.cx.mapper;

import com.cx.vo.CartsInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Description
 * @Author 11597
 * @Date 2020/5/12 14:33
 */
@Repository
public interface CartsInfoMapper{
    List<CartsInfo> selectByUserId(int userId);
    CartsInfo selectByUserIdAndGoodId(@Param("userId") int userId,@Param("goodId") int goodId);

}
